package br.fatec.ads.decorator;

import org.displaytag.decorator.TableDecorator;

import br.fatec.ads.model.Candidatura;

public class CandidaturaUsuarioDecorator extends TableDecorator {
	public String getLinkCandidaturaProcessoConsultar(){
		Candidatura candidatura = (Candidatura) getCurrentRowObject();
		
		String link = "<img src=\"img/grid_pesquisar.jpg\" " +
				"onclick=\"window.location='CandidaturaUsuarioConsultar?idCandidaturaConsultar=" + candidatura.getIdCandidatura() + "'\" " +
						"style=\"cursor: pointer;\">";
		return link;
	}
}